package com.mode.command.pattern;

/**
 * @Description: 负责人
 * @Author: zyf
 * @Time: 2020/9/27 16:11
 */
public class Invoker {

    private Commond commond;

    public Commond getCommond() {

        return commond;
    }

    public void action(){
        commond.execute();
    }

    public void setCommond(Commond commond) {
        this.commond = commond;
    }
}
